<body>
    <div class="x-body">
        <blockquote class="layui-elem-quote">
            欢迎使用仿layUI社区后台管理系统
        </blockquote>
        <p>登录次数：{$login_time} </p>
        <p>上次登录IP：{$last_login['ip']}</p>
        <p>上次登录时间： {$last_login['time']}</p>
        <fieldset class="layui-elem-field layui-field-title site-title">
        <legend><a name="default">信息统计</a></legend>
        </fieldset>
        <table class="layui-table">
            <thead>
                <tr>
                    <th>统计</th>
                    <th>用户</th>
                    <th>管理员</th>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>总数</td>
                    <td>{$users}</td>
                    <td>{$admins}</td>
                </tr>
            </tbody>
        </table>
        <table class="layui-table">
            <thead>
                <tr>
                    <th colspan="2" scope="col">服务器信息</th>
                </tr>
            </thead>
            <tbody>
                <?php foreach ($server_info as $sik => $siv): ?>
                    <tr>
                        <th width="30%">{$sik}</th>
                        <td>{$siv}</td>
                    </tr>
                <?php endforeach ?>
            </tbody>
        </table>
    </div>
    <div class="layui-footer footer footer-demo">
        <div class="layui-main">
            <p>感谢layui,百度Echarts,jquery</p>
            <p>
                <a href="/">
                    Copyright ©2017 x-admin v2.3 All Rights Reserved.
                </a>
            </p>
            <p>
                <a href="./" target="_blank">
                    本后台系统由X前端框架提供前端技术支持
                </a>
            </p>
        </div>
    </div>
    <script src="__PUBLIC__/lib/layui/layui.js" charset="utf-8"></script>
    <script src="__PUBLIC__/js/x-admin.js"></script>
</body>